﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Sector7.Framework.Core;

namespace Sector7.Medical.Controls
{
    /// <summary>
    /// FooterStrip.xaml 的交互逻辑
    /// </summary>
    public partial class FooterStrip : UserControl
    {
        #region Accessor
        #endregion

        #region Public functions
        /// <summary>
        /// 初始化控件
        /// </summary>
        public void InitializeControl()
        {
            lblProductName.Content = Senvironments.ProductConfig.ChineseName;
            lblVersion.Content = Senvironments.ProductConfig.ShortVersion;
        }
        #endregion

        #region Private functions
        private void ShowStatus()
        {
            pgbStatus.Visibility = Visibility.Visible;
            lblStatus.Visibility = Visibility.Visible;
        }

        private void HideStatus()
        {
            pgbStatus.Visibility = Visibility.Hidden;
            lblStatus.Visibility = Visibility.Hidden;
        }
        #endregion

        #region Structure
        /// <summary>
        /// 创建FooterStrip控件对象
        /// </summary>
        public FooterStrip()
        {
            InitializeComponent();
        }
        #endregion

        #region Inner members
        #endregion
    }
}
